<?php echo $this->Html->meta(array('http-equiv' => 'X-UA-Compatible', 'content' => 'IE=EmulateIE7')); ?>
<?php echo $this->Html->charset(); ?>
<title><?php if (isset($title_for_layout)) echo $title_for_layout; ?></title>
<?php echo $this->Html->meta('icon'); ?>
<?php echo $this->Html->meta(array('name' => 'generator', 'content' => Inflector::slug(Configure::read('Engine.name')) . '/' . Configure::read('Engine.version') . ' CakePHP/' . Configure::version() . ' PHP/' . PHP_VERSION)); ?>

<?php
// meta
//if (isset($description_for_layout) && !empty($description_for_layout)) {
//echo $html->meta('description', $description_for_layout);
//}
//if (isset($keywords_for_layout) && !empty($keywords_for_layout)) {
//echo $html->meta('keywords', $keywords_for_layout);
//}
//if (isset($copyright_for_layout) && !empty($copyright_for_layout)) {
//echo $html->meta(array('name' => 'copyright', 'content' => $copyright_for_layout));
//}
?>

<?php echo $this->Html->css('reset', NULL, array('media' => 'all')); ?>
<?php echo $this->Html->css('screen', NULL, array('media' => 'screen')); ?>
<?php echo $this->Html->css('print', NULL, array('media' => 'print')); ?>
<!--[if lt IE 7]>
<?php echo $this->Html->css('ie', NULL, array('media' => 'all')); ?>
<![endif]-->

<?php
// swfobject
echo $html->script('swfobject.js');
// jquery
echo $html->script('jquery.min.js');
// shadowbox
echo $html->css('/shadowbox/shadowbox.css');
echo $html->script('/shadowbox/shadowbox.js');
// jquery_ready
echo $html->script('jquery_ready.js');
?>

<?php if (isset($scripts_for_layout)) echo $scripts_for_layout; ?>